package com.jiyun.jumin;

import com.jiyun.vo.chengyuan.ChengyuanVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "doctor-jumin")
public interface ChengYuanClient {
    @ApiOperation(value = "查询居民关系")
    @RequestMapping("/chengyuan/findGuanxi")
    List<ChengyuanVO> fandGuanxi(@RequestParam("id") Integer id);
}
